'''
Created on 2014-12-30

@author: scemoon
'''
from django.conf.urls import patterns, url

urlpatterns = patterns('',
    url(r'^$',  "lpts.views.index", name="index"),
    url(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}, name="login"),   
    url(r'^logout/$', 'django.contrib.auth.views.logout_then_login' , {'login_url':"login"}, name="logout",),
    url(r'^reports/',  'lpts.views.reports',  name="reports"),
    url(r'^results/(?P<jobid>\d{14})/$',  'lpts.views.results',  name="results"),
    url(r'^docs/datamodel/$',  "lpts.views.data_model", name="datamodel"),
    url(r'^docs/tpjg/$',  "lpts.views.tpjg", name="tpjg"),
    url(r'^docs/ywlc/$',  "lpts.views.ywlc", name="ywlc"),
    
)